package com.woniuxy.yuekeuser.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.yuekeuser.model.City;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Freedom
 * @since 2020-11-03
 */
public interface ICityService extends IService<City> {

    public IPage<City> findAllCity(Page<City> cityPage,String cityName);
    public City queryCityByCityId(int cityId);
    public void addCityHeat(City city);
    public List<City> findAllCitys();
}
